package com.google.tts;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;

public abstract interface ITtsBeta extends IInterface
{
  public abstract void addEarcon(String paramString1, String paramString2, String paramString3, int paramInt)
    throws RemoteException;

  public abstract void addEarconFile(String paramString1, String paramString2, String paramString3)
    throws RemoteException;

  public abstract void addSpeech(String paramString1, String paramString2, String paramString3, int paramInt)
    throws RemoteException;

  public abstract void addSpeechFile(String paramString1, String paramString2, String paramString3)
    throws RemoteException;

  public abstract String[] getLanguage()
    throws RemoteException;

  public abstract int isLanguageAvailable(String paramString1, String paramString2, String paramString3)
    throws RemoteException;

  public abstract boolean isSpeaking()
    throws RemoteException;

  public abstract int playEarcon(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString)
    throws RemoteException;

  public abstract int playSilence(String paramString, long paramLong, int paramInt, String[] paramArrayOfString)
    throws RemoteException;

  public abstract int registerCallback(String paramString, ITtsCallbackBeta paramITtsCallbackBeta)
    throws RemoteException;

  public abstract int setLanguage(String paramString1, String paramString2, String paramString3, String paramString4)
    throws RemoteException;

  public abstract int setPitch(String paramString, int paramInt)
    throws RemoteException;

  public abstract int setSpeechRate(String paramString, int paramInt)
    throws RemoteException;

  public abstract int speak(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString)
    throws RemoteException;

  public abstract int stop(String paramString)
    throws RemoteException;

  public abstract boolean synthesizeToFile(String paramString1, String paramString2, String[] paramArrayOfString, String paramString3)
    throws RemoteException;

  public abstract int unregisterCallback(String paramString, ITtsCallbackBeta paramITtsCallbackBeta)
    throws RemoteException;

  public static abstract class Stub extends Binder
    implements ITtsBeta
  {
    private static final String DESCRIPTOR = "com.google.tts.ITtsBeta";
    static final int TRANSACTION_addEarcon = 13;
    static final int TRANSACTION_addEarconFile = 14;
    static final int TRANSACTION_addSpeech = 6;
    static final int TRANSACTION_addSpeechFile = 7;
    static final int TRANSACTION_getLanguage = 8;
    static final int TRANSACTION_isLanguageAvailable = 9;
    static final int TRANSACTION_isSpeaking = 4;
    static final int TRANSACTION_playEarcon = 12;
    static final int TRANSACTION_playSilence = 17;
    static final int TRANSACTION_registerCallback = 15;
    static final int TRANSACTION_setLanguage = 10;
    static final int TRANSACTION_setPitch = 2;
    static final int TRANSACTION_setSpeechRate = 1;
    static final int TRANSACTION_speak = 3;
    static final int TRANSACTION_stop = 5;
    static final int TRANSACTION_synthesizeToFile = 11;
    static final int TRANSACTION_unregisterCallback = 16;

    public Stub()
    {
      attachInterface(this, "com.google.tts.ITtsBeta");
    }

    public static ITtsBeta asInterface(IBinder paramIBinder)
    {
      if (paramIBinder == null);
      for (Object localObject = null; ; localObject = new Proxy(paramIBinder))
        while (true)
        {
          return localObject;
          IInterface localIInterface = paramIBinder.queryLocalInterface("com.google.tts.ITtsBeta");
          if ((localIInterface == null) || (!(localIInterface instanceof ITtsBeta)))
            break;
          localObject = (ITtsBeta)localIInterface;
        }
    }

    public IBinder asBinder()
    {
      return this;
    }

    public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2)
      throws RemoteException
    {
      switch (paramInt1)
      {
      default:
      case 1598968902:
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 10:
      case 11:
      case 12:
      case 13:
      case 14:
      case 15:
      case 16:
      case 17:
      }
      for (boolean bool1 = super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2); ; bool1 = true)
      {
        while (true)
        {
          label167: return bool1;
          paramParcel2.writeString("com.google.tts.ITtsBeta");
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i8 = setSpeechRate(paramParcel1.readString(), paramParcel1.readInt());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i8);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i7 = setPitch(paramParcel1.readString(), paramParcel1.readInt());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i7);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i6 = speak(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readInt(), paramParcel1.createStringArray());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i6);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          boolean bool3 = isSpeaking();
          paramParcel2.writeNoException();
          if (bool3);
          for (int i5 = 1; ; i5 = 0)
          {
            paramParcel2.writeInt(i5);
            bool1 = true;
            break label167:
          }
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i4 = stop(paramParcel1.readString());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i4);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          addSpeech(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readInt());
          paramParcel2.writeNoException();
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          addSpeechFile(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString());
          paramParcel2.writeNoException();
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          String[] arrayOfString = getLanguage();
          paramParcel2.writeNoException();
          paramParcel2.writeStringArray(arrayOfString);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i3 = isLanguageAvailable(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i3);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int i2 = setLanguage(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(i2);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          boolean bool2 = synthesizeToFile(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.createStringArray(), paramParcel1.readString());
          paramParcel2.writeNoException();
          if (bool2);
          for (int i1 = 1; ; i1 = 0)
          {
            paramParcel2.writeInt(i1);
            bool1 = true;
            break label167:
          }
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int l = playEarcon(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readInt(), paramParcel1.createStringArray());
          paramParcel2.writeNoException();
          paramParcel2.writeInt(l);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          addEarcon(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readInt());
          paramParcel2.writeNoException();
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          addEarconFile(paramParcel1.readString(), paramParcel1.readString(), paramParcel1.readString());
          paramParcel2.writeNoException();
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int k = registerCallback(paramParcel1.readString(), ITtsCallbackBeta.Stub.asInterface(paramParcel1.readStrongBinder()));
          paramParcel2.writeNoException();
          paramParcel2.writeInt(k);
          bool1 = true;
          continue;
          paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
          int j = unregisterCallback(paramParcel1.readString(), ITtsCallbackBeta.Stub.asInterface(paramParcel1.readStrongBinder()));
          paramParcel2.writeNoException();
          paramParcel2.writeInt(j);
          bool1 = true;
        }
        paramParcel1.enforceInterface("com.google.tts.ITtsBeta");
        int i = playSilence(paramParcel1.readString(), paramParcel1.readLong(), paramParcel1.readInt(), paramParcel1.createStringArray());
        paramParcel2.writeNoException();
        paramParcel2.writeInt(i);
      }
    }

    private static class Proxy
      implements ITtsBeta
    {
      private IBinder mRemote;

      Proxy(IBinder paramIBinder)
      {
        this.mRemote = paramIBinder;
      }

      public void addEarcon(String paramString1, String paramString2, String paramString3, int paramInt)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          localParcel1.writeInt(paramInt);
          this.mRemote.transact(13, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void addEarconFile(String paramString1, String paramString2, String paramString3)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          this.mRemote.transact(14, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void addSpeech(String paramString1, String paramString2, String paramString3, int paramInt)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          localParcel1.writeInt(paramInt);
          this.mRemote.transact(6, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public void addSpeechFile(String paramString1, String paramString2, String paramString3)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          this.mRemote.transact(7, localParcel1, localParcel2, 0);
          localParcel2.readException();
          return;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public IBinder asBinder()
      {
        return this.mRemote;
      }

      public String getInterfaceDescriptor()
      {
        return "com.google.tts.ITtsBeta";
      }

      public String[] getLanguage()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          this.mRemote.transact(8, localParcel1, localParcel2, 0);
          localParcel2.readException();
          String[] arrayOfString = localParcel2.createStringArray();
          return arrayOfString;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int isLanguageAvailable(String paramString1, String paramString2, String paramString3)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          this.mRemote.transact(9, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public boolean isSpeaking()
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          this.mRemote.transact(4, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int playEarcon(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeInt(paramInt);
          localParcel1.writeStringArray(paramArrayOfString);
          this.mRemote.transact(12, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int playSilence(String paramString, long paramLong, int paramInt, String[] paramArrayOfString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          localParcel1.writeLong(paramLong);
          localParcel1.writeInt(paramInt);
          localParcel1.writeStringArray(paramArrayOfString);
          this.mRemote.transact(17, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int registerCallback(String paramString, ITtsCallbackBeta paramITtsCallbackBeta)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          if (paramITtsCallbackBeta != null)
          {
            localIBinder = paramITtsCallbackBeta.asBinder();
            localParcel1.writeStrongBinder(localIBinder);
            this.mRemote.transact(15, localParcel1, localParcel2, 0);
            localParcel2.readException();
            int i = localParcel2.readInt();
            return i;
          }
          IBinder localIBinder = null;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int setLanguage(String paramString1, String paramString2, String paramString3, String paramString4)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeString(paramString3);
          localParcel1.writeString(paramString4);
          this.mRemote.transact(10, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int setPitch(String paramString, int paramInt)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          localParcel1.writeInt(paramInt);
          this.mRemote.transact(2, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int setSpeechRate(String paramString, int paramInt)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          localParcel1.writeInt(paramInt);
          this.mRemote.transact(1, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int speak(String paramString1, String paramString2, int paramInt, String[] paramArrayOfString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeInt(paramInt);
          localParcel1.writeStringArray(paramArrayOfString);
          this.mRemote.transact(3, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int stop(String paramString)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          this.mRemote.transact(5, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          return i;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public boolean synthesizeToFile(String paramString1, String paramString2, String[] paramArrayOfString, String paramString3)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString1);
          localParcel1.writeString(paramString2);
          localParcel1.writeStringArray(paramArrayOfString);
          localParcel1.writeString(paramString3);
          this.mRemote.transact(11, localParcel1, localParcel2, 0);
          localParcel2.readException();
          int i = localParcel2.readInt();
          if (i != 0)
          {
            j = 1;
            return j;
          }
          int j = 0;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }

      public int unregisterCallback(String paramString, ITtsCallbackBeta paramITtsCallbackBeta)
        throws RemoteException
      {
        Parcel localParcel1 = Parcel.obtain();
        Parcel localParcel2 = Parcel.obtain();
        try
        {
          localParcel1.writeInterfaceToken("com.google.tts.ITtsBeta");
          localParcel1.writeString(paramString);
          if (paramITtsCallbackBeta != null)
          {
            localIBinder = paramITtsCallbackBeta.asBinder();
            localParcel1.writeStrongBinder(localIBinder);
            this.mRemote.transact(16, localParcel1, localParcel2, 0);
            localParcel2.readException();
            int i = localParcel2.readInt();
            return i;
          }
          IBinder localIBinder = null;
        }
        finally
        {
          localParcel2.recycle();
          localParcel1.recycle();
        }
      }
    }
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     com.google.tts.ITtsBeta
 * JD-Core Version:    0.5.3
 */